package sk.fiit.icp.data;

import java.util.List;

public interface EventsDao {
	public void persist(Events e);

	public Events findById(int id);

	public List<Events> findAllByUser(Users user);
	
	public int remove(int id);

	public void update(Events e);
	
	public List<Events> findByUserAndParentEvent(Users user, Events events);

}
